Integrand size = 32, antiderivative size = 319 \[ \int \frac {\left (c+d x^2\right )^{3/2}}{\left (a+b x^2\right ) \sqrt {e+f x^2}} \, dx=\frac {d x \sqrt {c+d x^2}}{b \sqrt {e+f x^2}}-\frac {d \sqrt {e} \sqrt {c+d x^2} E\left (\arctan \left (\frac {\sqrt {f} x}{\sqrt {e}}\right )|1-\frac {d e}{c f}\right )}{b \sqrt {f} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}} \sqrt {e+f x^2}}+\frac {d \sqrt {e} \sqrt {c+d x^2} \operatorname {EllipticF}\left (\arctan \left (\frac {\sqrt {f} x}{\sqrt {e}}\right ),1-\frac {d e}{c f}\right )}{b \sqrt {f} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}} \sqrt {e+f x^2}}+\frac {c^{3/2} (b c-a d) \sqrt {e+f x^2} \operatorname {EllipticPi}\left (1-\frac {b c}{a d},\arctan \left (\frac {\sqrt {d} x}{\sqrt {c}}\right ),1-\frac {c f}{d e}\right )}{a b \sqrt {d} e \sqrt {c+d x^2} \sqrt {\frac {c \left (e+f x^2\right )}{e \left (c+d x^2\right )}}} \]
d*x*(d*x^2+c)^(1/2)/b/(f*x^2+e)^(1/2)-d*(1/(1+f*x^2/e))^(1/2)*(1+f*x^2/e)^ (1/2)*EllipticE(x*f^(1/2)/e^(1/2)/(1+f*x^2/e)^(1/2),(1-d*e/c/f)^(1/2))*e^( 1/2)*(d*x^2+c)^(1/2)/b/f^(1/2)/(e*(d*x^2+c)/c/(f*x^2+e))^(1/2)/(f*x^2+e)^( 1/2)+d*(1/(1+f*x^2/e))^(1/2)*(1+f*x^2/e)^(1/2)*EllipticF(x*f^(1/2)/e^(1/2) /(1+f*x^2/e)^(1/2),(1-d*e/c/f)^(1/2))*e^(1/2)*(d*x^2+c)^(1/2)/b/f^(1/2)/(e *(d*x^2+c)/c/(f*x^2+e))^(1/2)/(f*x^2+e)^(1/2)+c^(3/2)*(-a*d+b*c)*(1/(1+d*x ^2/c))^(1/2)*(1+d*x^2/c)^(1/2)*EllipticPi(x*d^(1/2)/c^(1/2)/(1+d*x^2/c)^(1 /2),1-b*c/a/d,(1-c*f/d/e)^(1/2))*(f*x^2+e)^(1/2)/a/b/e/d^(1/2)/(d*x^2+c)^( 1/2)/(c*(f*x^2+e)/e/(d*x^2+c))^(1/2)
Result contains complex when optimal does not.
Time = 3.33 (sec) , antiderivative size = 197, normalized size of antiderivative = 0.62 \[ \int \frac {\left (c+d x^2\right )^{3/2}}{\left (a+b x^2\right ) \sqrt {e+f x^2}} \, dx=-\frac {i \sqrt {1+\frac {d x^2}{c}} \sqrt {1+\frac {f x^2}{e}} \left (a b d^2 e E\left (i \text {arcsinh}\left (\sqrt {\frac {d}{c}} x\right )|\frac {c f}{d e}\right )-a d (b d e-2 b c f+a d f) \operatorname {EllipticF}\left (i \text {arcsinh}\left (\sqrt {\frac {d}{c}} x\right ),\frac {c f}{d e}\right )+(b c-a d)^2 f \operatorname {EllipticPi}\left (\frac {b c}{a d},i \text {arcsinh}\left (\sqrt {\frac {d}{c}} x\right ),\frac {c f}{d e}\right )\right )}{a b^2 \sqrt {\frac {d}{c}} f \sqrt {c+d x^2} \sqrt {e+f x^2}} \]
((-I)*Sqrt[1 + (d*x^2)/c]*Sqrt[1 + (f*x^2)/e]*(a*b*d^2*e*EllipticE[I*ArcSi nh[Sqrt[d/c]*x], (c*f)/(d*e)] - a*d*(b*d*e - 2*b*c*f + a*d*f)*EllipticF[I* ArcSinh[Sqrt[d/c]*x], (c*f)/(d*e)] + (b*c - a*d)^2*f*EllipticPi[(b*c)/(a*d ), I*ArcSinh[Sqrt[d/c]*x], (c*f)/(d*e)]))/(a*b^2*Sqrt[d/c]*f*Sqrt[c + d*x^ 2]*Sqrt[e + f*x^2])
Time = 0.46 (sec) , antiderivative size = 322, normalized size of antiderivative = 1.01, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {420, 324, 320, 388, 313, 414}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\left (c+d x^2\right )^{3/2}}{\left (a+b x^2\right ) \sqrt {e+f x^2}} \, dx\) |
\(\Big \downarrow \) 420 |
\(\displaystyle \frac {(b c-a d) \int \frac {\sqrt {d x^2+c}}{\left (b x^2+a\right ) \sqrt {f x^2+e}}dx}{b}+\frac {d \int \frac {\sqrt {d x^2+c}}{\sqrt {f x^2+e}}dx}{b}\) |
\(\Big \downarrow \) 324 |
\(\displaystyle \frac {(b c-a d) \int \frac {\sqrt {d x^2+c}}{\left (b x^2+a\right ) \sqrt {f x^2+e}}dx}{b}+\frac {d \left (c \int \frac {1}{\sqrt {d x^2+c} \sqrt {f x^2+e}}dx+d \int \frac {x^2}{\sqrt {d x^2+c} \sqrt {f x^2+e}}dx\right )}{b}\) |
\(\Big \downarrow \) 320 |
\(\displaystyle \frac {(b c-a d) \int \frac {\sqrt {d x^2+c}}{\left (b x^2+a\right ) \sqrt {f x^2+e}}dx}{b}+\frac {d \left (d \int \frac {x^2}{\sqrt {d x^2+c} \sqrt {f x^2+e}}dx+\frac {\sqrt {e} \sqrt {c+d x^2} \operatorname {EllipticF}\left (\arctan \left (\frac {\sqrt {f} x}{\sqrt {e}}\right ),1-\frac {d e}{c f}\right )}{\sqrt {f} \sqrt {e+f x^2} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}}}\right )}{b}\) |
\(\Big \downarrow \) 388 |
\(\displaystyle \frac {(b c-a d) \int \frac {\sqrt {d x^2+c}}{\left (b x^2+a\right ) \sqrt {f x^2+e}}dx}{b}+\frac {d \left (d \left (\frac {x \sqrt {c+d x^2}}{d \sqrt {e+f x^2}}-\frac {e \int \frac {\sqrt {d x^2+c}}{\left (f x^2+e\right )^{3/2}}dx}{d}\right )+\frac {\sqrt {e} \sqrt {c+d x^2} \operatorname {EllipticF}\left (\arctan \left (\frac {\sqrt {f} x}{\sqrt {e}}\right ),1-\frac {d e}{c f}\right )}{\sqrt {f} \sqrt {e+f x^2} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}}}\right )}{b}\) |
\(\Big \downarrow \) 313 |
\(\displaystyle \frac {(b c-a d) \int \frac {\sqrt {d x^2+c}}{\left (b x^2+a\right ) \sqrt {f x^2+e}}dx}{b}+\frac {d \left (\frac {\sqrt {e} \sqrt {c+d x^2} \operatorname {EllipticF}\left (\arctan \left (\frac {\sqrt {f} x}{\sqrt {e}}\right ),1-\frac {d e}{c f}\right )}{\sqrt {f} \sqrt {e+f x^2} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}}}+d \left (\frac {x \sqrt {c+d x^2}}{d \sqrt {e+f x^2}}-\frac {\sqrt {e} \sqrt {c+d x^2} E\left (\arctan \left (\frac {\sqrt {f} x}{\sqrt {e}}\right )|1-\frac {d e}{c f}\right )}{d \sqrt {f} \sqrt {e+f x^2} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}}}\right )\right )}{b}\) |
\(\Big \downarrow \) 414 |
\(\displaystyle \frac {c^{3/2} \sqrt {e+f x^2} (b c-a d) \operatorname {EllipticPi}\left (1-\frac {b c}{a d},\arctan \left (\frac {\sqrt {d} x}{\sqrt {c}}\right ),1-\frac {c f}{d e}\right )}{a b \sqrt {d} e \sqrt {c+d x^2} \sqrt {\frac {c \left (e+f x^2\right )}{e \left (c+d x^2\right )}}}+\frac {d \left (\frac {\sqrt {e} \sqrt {c+d x^2} \operatorname {EllipticF}\left (\arctan \left (\frac {\sqrt {f} x}{\sqrt {e}}\right ),1-\frac {d e}{c f}\right )}{\sqrt {f} \sqrt {e+f x^2} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}}}+d \left (\frac {x \sqrt {c+d x^2}}{d \sqrt {e+f x^2}}-\frac {\sqrt {e} \sqrt {c+d x^2} E\left (\arctan \left (\frac {\sqrt {f} x}{\sqrt {e}}\right )|1-\frac {d e}{c f}\right )}{d \sqrt {f} \sqrt {e+f x^2} \sqrt {\frac {e \left (c+d x^2\right )}{c \left (e+f x^2\right )}}}\right )\right )}{b}\) |
(d*(d*((x*Sqrt[c + d*x^2])/(d*Sqrt[e + f*x^2]) - (Sqrt[e]*Sqrt[c + d*x^2]* EllipticE[ArcTan[(Sqrt[f]*x)/Sqrt[e]], 1 - (d*e)/(c*f)])/(d*Sqrt[f]*Sqrt[( e*(c + d*x^2))/(c*(e + f*x^2))]*Sqrt[e + f*x^2])) + (Sqrt[e]*Sqrt[c + d*x^ 2]*EllipticF[ArcTan[(Sqrt[f]*x)/Sqrt[e]], 1 - (d*e)/(c*f)])/(Sqrt[f]*Sqrt[ (e*(c + d*x^2))/(c*(e + f*x^2))]*Sqrt[e + f*x^2])))/b + (c^(3/2)*(b*c - a* d)*Sqrt[e + f*x^2]*EllipticPi[1 - (b*c)/(a*d), ArcTan[(Sqrt[d]*x)/Sqrt[c]] , 1 - (c*f)/(d*e)])/(a*b*Sqrt[d]*e*Sqrt[c + d*x^2]*Sqrt[(c*(e + f*x^2))/(e *(c + d*x^2))])
3.1.78.3.1 Defintions of rubi rules used
Int[Sqrt[(a_) + (b_.)*(x_)^2]/((c_) + (d_.)*(x_)^2)^(3/2), x_Symbol] :> Sim p[(Sqrt[a + b*x^2]/(c*Rt[d/c, 2]*Sqrt[c + d*x^2]*Sqrt[c*((a + b*x^2)/(a*(c + d*x^2)))]))*EllipticE[ArcTan[Rt[d/c, 2]*x], 1 - b*(c/(a*d))], x] /; FreeQ [{a, b, c, d}, x] && PosQ[b/a] && PosQ[d/c]
Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> S imp[(Sqrt[a + b*x^2]/(a*Rt[d/c, 2]*Sqrt[c + d*x^2]*Sqrt[c*((a + b*x^2)/(a*( c + d*x^2)))]))*EllipticF[ArcTan[Rt[d/c, 2]*x], 1 - b*(c/(a*d))], x] /; Fre eQ[{a, b, c, d}, x] && PosQ[d/c] && PosQ[b/a] && !SimplerSqrtQ[b/a, d/c]
Int[Sqrt[(a_) + (b_.)*(x_)^2]/Sqrt[(c_) + (d_.)*(x_)^2], x_Symbol] :> Simp[ a Int[1/(Sqrt[a + b*x^2]*Sqrt[c + d*x^2]), x], x] + Simp[b Int[x^2/(Sqr t[a + b*x^2]*Sqrt[c + d*x^2]), x], x] /; FreeQ[{a, b, c, d}, x] && PosQ[d/c ] && PosQ[b/a]
Int[(x_)^2/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> Simp[x*(Sqrt[a + b*x^2]/(b*Sqrt[c + d*x^2])), x] - Simp[c/b Int[Sqrt[ a + b*x^2]/(c + d*x^2)^(3/2), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0] && PosQ[b/a] && PosQ[d/c] && !SimplerSqrtQ[b/a, d/c]
Int[Sqrt[(c_) + (d_.)*(x_)^2]/(((a_) + (b_.)*(x_)^2)*Sqrt[(e_) + (f_.)*(x_) ^2]), x_Symbol] :> Simp[c*(Sqrt[e + f*x^2]/(a*e*Rt[d/c, 2]*Sqrt[c + d*x^2]* Sqrt[c*((e + f*x^2)/(e*(c + d*x^2)))]))*EllipticPi[1 - b*(c/(a*d)), ArcTan[ Rt[d/c, 2]*x], 1 - c*(f/(d*e))], x] /; FreeQ[{a, b, c, d, e, f}, x] && PosQ [d/c]
Int[(((c_) + (d_.)*(x_)^2)^(q_)*((e_) + (f_.)*(x_)^2)^(r_))/((a_) + (b_.)*( x_)^2), x_Symbol] :> Simp[d/b Int[(c + d*x^2)^(q - 1)*(e + f*x^2)^r, x], x] + Simp[(b*c - a*d)/b Int[(c + d*x^2)^(q - 1)*((e + f*x^2)^r/(a + b*x^2 )), x], x] /; FreeQ[{a, b, c, d, e, f, r}, x] && GtQ[q, 1]
Time = 3.42 (sec) , antiderivative size = 341, normalized size of antiderivative = 1.07
method | result | size |
default | \(\frac {\left (-F\left (x \sqrt {-\frac {d}{c}}, \sqrt {\frac {c f}{d e}}\right ) a^{2} d^{2} f +2 F\left (x \sqrt {-\frac {d}{c}}, \sqrt {\frac {c f}{d e}}\right ) a b c d f -F\left (x \sqrt {-\frac {d}{c}}, \sqrt {\frac {c f}{d e}}\right ) a b \,d^{2} e +E\left (x \sqrt {-\frac {d}{c}}, \sqrt {\frac {c f}{d e}}\right ) a b \,d^{2} e +\Pi \left (x \sqrt {-\frac {d}{c}}, \frac {b c}{a d}, \frac {\sqrt {-\frac {f}{e}}}{\sqrt {-\frac {d}{c}}}\right ) a^{2} d^{2} f -2 \Pi \left (x \sqrt {-\frac {d}{c}}, \frac {b c}{a d}, \frac {\sqrt {-\frac {f}{e}}}{\sqrt {-\frac {d}{c}}}\right ) a b c d f +\Pi \left (x \sqrt {-\frac {d}{c}}, \frac {b c}{a d}, \frac {\sqrt {-\frac {f}{e}}}{\sqrt {-\frac {d}{c}}}\right ) b^{2} c^{2} f \right ) \sqrt {\frac {f \,x^{2}+e}{e}}\, \sqrt {\frac {d \,x^{2}+c}{c}}\, \sqrt {f \,x^{2}+e}\, \sqrt {d \,x^{2}+c}}{a \,b^{2} f \sqrt {-\frac {d}{c}}\, \left (d f \,x^{4}+c f \,x^{2}+d e \,x^{2}+c e \right )}\) | \(341\) |
elliptic | \(\frac {\sqrt {\left (d \,x^{2}+c \right ) \left (f \,x^{2}+e \right )}\, \left (-\frac {d^{2} \sqrt {1+\frac {d \,x^{2}}{c}}\, \sqrt {1+\frac {f \,x^{2}}{e}}\, F\left (x \sqrt {-\frac {d}{c}}, \sqrt {-1+\frac {c f +d e}{e d}}\right ) a}{b^{2} \sqrt {-\frac {d}{c}}\, \sqrt {d f \,x^{4}+c f \,x^{2}+d e \,x^{2}+c e}}+\frac {2 d \sqrt {1+\frac {d \,x^{2}}{c}}\, \sqrt {1+\frac {f \,x^{2}}{e}}\, F\left (x \sqrt {-\frac {d}{c}}, \sqrt {-1+\frac {c f +d e}{e d}}\right ) c}{b \sqrt {-\frac {d}{c}}\, \sqrt {d f \,x^{4}+c f \,x^{2}+d e \,x^{2}+c e}}-\frac {d^{2} e \sqrt {1+\frac {d \,x^{2}}{c}}\, \sqrt {1+\frac {f \,x^{2}}{e}}\, F\left (x \sqrt {-\frac {d}{c}}, \sqrt {-1+\frac {c f +d e}{e d}}\right )}{b \sqrt {-\frac {d}{c}}\, \sqrt {d f \,x^{4}+c f \,x^{2}+d e \,x^{2}+c e}\, f}+\frac {d^{2} e \sqrt {1+\frac {d \,x^{2}}{c}}\, \sqrt {1+\frac {f \,x^{2}}{e}}\, E\left (x \sqrt {-\frac {d}{c}}, \sqrt {-1+\frac {c f +d e}{e d}}\right )}{b \sqrt {-\frac {d}{c}}\, \sqrt {d f \,x^{4}+c f \,x^{2}+d e \,x^{2}+c e}\, f}+\frac {a \sqrt {1+\frac {d \,x^{2}}{c}}\, \sqrt {1+\frac {f \,x^{2}}{e}}\, \Pi \left (x \sqrt {-\frac {d}{c}}, \frac {b c}{a d}, \frac {\sqrt {-\frac {f}{e}}}{\sqrt {-\frac {d}{c}}}\right ) d^{2}}{b^{2} \sqrt {-\frac {d}{c}}\, \sqrt {d f \,x^{4}+c f \,x^{2}+d e \,x^{2}+c e}}-\frac {2 \sqrt {1+\frac {d \,x^{2}}{c}}\, \sqrt {1+\frac {f \,x^{2}}{e}}\, \Pi \left (x \sqrt {-\frac {d}{c}}, \frac {b c}{a d}, \frac {\sqrt {-\frac {f}{e}}}{\sqrt {-\frac {d}{c}}}\right ) c d}{b \sqrt {-\frac {d}{c}}\, \sqrt {d f \,x^{4}+c f \,x^{2}+d e \,x^{2}+c e}}+\frac {\sqrt {1+\frac {d \,x^{2}}{c}}\, \sqrt {1+\frac {f \,x^{2}}{e}}\, \Pi \left (x \sqrt {-\frac {d}{c}}, \frac {b c}{a d}, \frac {\sqrt {-\frac {f}{e}}}{\sqrt {-\frac {d}{c}}}\right ) c^{2}}{a \sqrt {-\frac {d}{c}}\, \sqrt {d f \,x^{4}+c f \,x^{2}+d e \,x^{2}+c e}}\right )}{\sqrt {d \,x^{2}+c}\, \sqrt {f \,x^{2}+e}}\) | \(718\) |
(-EllipticF(x*(-d/c)^(1/2),(c*f/d/e)^(1/2))*a^2*d^2*f+2*EllipticF(x*(-d/c) ^(1/2),(c*f/d/e)^(1/2))*a*b*c*d*f-EllipticF(x*(-d/c)^(1/2),(c*f/d/e)^(1/2) )*a*b*d^2*e+EllipticE(x*(-d/c)^(1/2),(c*f/d/e)^(1/2))*a*b*d^2*e+EllipticPi (x*(-d/c)^(1/2),b*c/a/d,(-f/e)^(1/2)/(-d/c)^(1/2))*a^2*d^2*f-2*EllipticPi( x*(-d/c)^(1/2),b*c/a/d,(-f/e)^(1/2)/(-d/c)^(1/2))*a*b*c*d*f+EllipticPi(x*( -d/c)^(1/2),b*c/a/d,(-f/e)^(1/2)/(-d/c)^(1/2))*b^2*c^2*f)*((f*x^2+e)/e)^(1 /2)*((d*x^2+c)/c)^(1/2)*(f*x^2+e)^(1/2)*(d*x^2+c)^(1/2)/a/b^2/f/(-d/c)^(1/ 2)/(d*f*x^4+c*f*x^2+d*e*x^2+c*e)
Timed out. \[ \int \frac {\left (c+d x^2\right )^{3/2}}{\left (a+b x^2\right ) \sqrt {e+f x^2}} \, dx=\text {Timed out} \]
\[ \int \frac {\left (c+d x^2\right )^{3/2}}{\left (a+b x^2\right ) \sqrt {e+f x^2}} \, dx=\int \frac {\left (c + d x^{2}\right )^{\frac {3}{2}}}{\left (a + b x^{2}\right ) \sqrt {e + f x^{2}}}\, dx \]
\[ \int \frac {\left (c+d x^2\right )^{3/2}}{\left (a+b x^2\right ) \sqrt {e+f x^2}} \, dx=\int { \frac {{\left (d x^{2} + c\right )}^{\frac {3}{2}}}{{\left (b x^{2} + a\right )} \sqrt {f x^{2} + e}} \,d x } \]
\[ \int \frac {\left (c+d x^2\right )^{3/2}}{\left (a+b x^2\right ) \sqrt {e+f x^2}} \, dx=\int { \frac {{\left (d x^{2} + c\right )}^{\frac {3}{2}}}{{\left (b x^{2} + a\right )} \sqrt {f x^{2} + e}} \,d x } \]
Timed out. \[ \int \frac {\left (c+d x^2\right )^{3/2}}{\left (a+b x^2\right ) \sqrt {e+f x^2}} \, dx=\int \frac {{\left (d\,x^2+c\right )}^{3/2}}{\left (b\,x^2+a\right )\,\sqrt {f\,x^2+e}} \,d x \]